package com.sumainfor.pc.gmio.controller.secretary;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.feign.Zfeign.ZpcMktFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.io.Serializable;

/**
 * @Date 2018年11月7日
 * @Describe 银行
 */
@RestController
@RequestMapping("/secretary/Community")
public class SeCommunityController implements Serializable {

    @Autowired
    private ZpcMktFeign zpcMktFeign;
    /**
     * 获取所属房源的下拉列表
     * @param
     * @return
     */
    @GetMapping("/getCommunityName")
    public JsonResult getCommunityName(){
        return   zpcMktFeign.getCommunityName();
    }
}
